#ifndef POINT2D_H_
#define POINT2D_H_

// By: Jesse Guarascia de Urena
// 2D Point Class
// Contains (x, y) positioning information

#include <SDL_opengl.h>

class Point2D
{
public:
	Point2D(void) : x(0.0f), y(0.0f) {}
	Point2D(float _x, float _y) : x(_x), y(_y) {}
	~Point2D(void) {}

	float x, y; // Positions the point holds

	// Translate to the point
	inline void TranslateTo() {glTranslatef(x, y, 0.0f);}
};

#endif // POINT2D_H_